package hk.org.ha.cdars.datacontext;

import java.lang.reflect.Field;
import java.util.List;
import java.util.Map;
import java.util.Objects;

import javax.sql.DataSource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import lava.rt.common.ReflectCommon;
import lava.rt.linq.sql.Criterias;

@Component
public class BisDataContextImpl extends BisDataContextBase{

	
	@Autowired
	private DataSource dataSource0;
	
	@Autowired
	private DataSource[] dataSources=new DataSource[] {dataSource0};
	
	@Override
	protected Criterias getCriterias() {
		// TODO Auto-generated method stub
		return Criterias.mysql;
	}

	@Override
	protected DataSource[] getReadDataSources() {
		// TODO Auto-generated method stub
		return dataSources;
	}

	@Override
	protected DataSource[] getWriteDataSources() {
		// TODO Auto-generated method stub
		return dataSources;
	}

	
	

	
}
